package com.wsllx.boot2025.rest;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: ^-^
 * @Author: llx
 * @Date: 2025.07.2317:17
 * @Copyright: Fujian Linewell Software Co., Ltd. All rights reserved.
 */
@RestController
@RequestMapping("/test")
@Tag(name = "test")
@Slf4j
public class HelloController {

    @Operation(summary = "测试接口1", description = "hello xxx")
    @GetMapping("/echo")
    public String echo(@RequestParam String name) {
        return "Hello:" + name;
    }
}
